<?php

namespace Biz\model\bizActivity;

use Biz\model\advertisement\MBaseDbModel;
use Biz\pockets\modelTrait\BizModelTrait;

class MBaMember extends MBaseDbModel
{
    const _CONFIG_FILE_ = 'db_store';
    
    const _CONFIG_SELECT_ = 'db_brand_activity';
    
    const _DATABASE_ = 'brand_activity';
    
    const _TABLE_NAME = 'ba_member';

    use BizModelTrait;

    public static function addMember($uuid, $from)
    {
        $data = [
            'uuid' => $uuid,
            'from' => $from,
            'addtime' => date("Y-m-d H:i:s"),
            'status' => self::STATUS_NORMAL,
        ];
        return self::dataInsert($data);
    }

}
